<?php
/**
 * Created by PhpStorm.
 * User: yuanjie
 * Date: 15/10/30
 * Time: 下午5:28
 */


class ServiceProductItem extends Eloquent
{
    protected $table = "service_product_item";


    /**
     * @Author:      lyt
     * @DateTime:    2016-01-20 11:47:06
     * @Description: 用于获取指定的 id的 服务产品项  暂时直接查询 不做缓存处理
     */
    public static function getItem($item_id){
    	return ServiceProductItem::where("id",$item_id)->where("status",1)->first();
    }

}